package dao;

import entity.Smbms_Provider;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by aiqinag on 2017-06-23.
 */
@Repository
public interface Smbms_ProviderDao {

    public List<Smbms_Provider> selectPr();

    public Smbms_Provider selectShow(String id);


    public List<Smbms_Provider> selectDim(@Param("proName") String proName, int No, int Po);

    public void delete(String id);


    public int add(@Param("provider")Smbms_Provider provider);

    public void  update(Smbms_Provider provider);

    public int selectNum();

    public int selectDimNum(@Param("proName") String proName);

}
